package me.techbird.nve.domain;

import java.io.Serializable;

public class User implements Serializable {
    private Integer uid;
    private String stu_no;
    private String password;
    private String name;
    //1：教师；2：学生
    private int role;
    private String major;
    private String create_time;

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", stu_no='" + stu_no + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", role=" + role +
                ", major='" + major + '\'' +
                ", create_time='" + create_time + '\'' +
                '}';
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getStu_no() {
        return stu_no;
    }

    public void setStu_no(String stu_no) {
        this.stu_no = stu_no;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRole() {
        return role;
    }

    public void setRole(int role) {
        this.role = role;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }
}
